import axios from '@/libs/api.request'

export const getDepartment = params => axios.request({
  url: '/api/Department',
  method: 'get',
  params
})
export const getLocations = params => axios.request({
  url: '/api/Locations/quchSearchPage',
  method: 'get',
  params
})
export const getDepartmentNum = params => axios.request({
  url: '/api/Statistics',
  method: 'get',
  params
})
export const getScene = params => axios.request({
  url: '/api/Scene',
  method: 'get',
  params
})
export const getQuchSearch = params => axios.request({
  url: '/api/Locations/quchSearch',
  method: 'get',
  params
})

export const getDelete = params => axios.request({
  url: `/api/Locations/${params.id}`,
  method: 'delete'
  // params
})
